package com.tulingxueyuan.mall.security.tulingtest.singlon;

/**
 * @author :     sunting
 * @date :    2023/6/5 11:24
 * @description :
 */
//饿汉式
public class Singlon2 {
    private static Singlon2 instance = new Singlon2();
    public static Singlon2 getinstance(){
        return instance;
    }
}
